package com.example.JPetStore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("items")
public class Item {
    @TableId(value = "item_id",type= IdType.INPUT)
    String itemId;
    @TableField(value = "cate_id")
    String categoryId;
    @TableField(value = "pro_id")
    String productId;
    @TableField(value = "item_introduction")
    String itemIntroduction;
    @TableField(value = "item_price")
    String itemPrice;
}
